package com.onedec.menu.service;

import com.onedec.menu.entity.OnedecDeptPermission;
import com.onedec.menu.entity.OnedecRolePermission;

import java.util.List;

public interface RolePermissionService {
    public List<OnedecRolePermission> selectPermissionByRoleid(int id);
    public void insert(OnedecRolePermission onedecRolePermission);
    List<OnedecRolePermission> selectByRoleIdAndPermissionId(int roleId,int permissionId);
    void delete(int roleId);

}
